import java.util.Arrays;

public class Solution912 {
    public int[] sortArray(int[] nums) {
        Arrays.sort(nums);
        return nums;
    }

    public static void main(String[] args) {
        System.out.println(Arrays.toString(new Solution912().sortArray(new int[]{5, 2, 3, 1})));
    }
}
